/*
 * @Author: windys
 * @Description: 
 * @Date: 2021-12-10 15:38:39
 */
import useRequest from './index';

export const $loginApi = (data: any) => {
    return useRequest<any>({
        method: 'post',
        url: '/user/manager/user/login',
        data
    });
}

export const $getMenuTree = (params: any) => {
    return useRequest<any>({
        method: 'GET',
        url: '/user/manager/user/menus',
        params
    });
}
